package com.ruicar.afs.cloud.channel.applyuser.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruicar.afs.cloud.channel.applyuser.conditiion.ApplyUserDTO;
import com.ruicar.afs.cloud.channel.applyuser.entity.ApplyUser;
import com.ruicar.afs.cloud.channel.applyuser.mapper.ApplyUserMapper;
import com.ruicar.afs.cloud.channel.applyuser.service.ApplyUserService;
import com.ruicar.afs.cloud.channel.applyuser.vo.ApplyUserVO;
import com.ruicar.afs.cloud.channel.witness.entity.ChannelWitnessInfoTemp;
import com.ruicar.afs.cloud.channel.witness.mapper.ChannelWitnessInfoTempMapper;
import com.ruicar.afs.cloud.channel.witness.service.ChannelWitnessInfoTempService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Ice
 * @date 2020/9/7 18:23
 */
@Slf4j
@Service
@AllArgsConstructor
public class ApplyUserServiceImpl extends ServiceImpl<ApplyUserMapper, ApplyUser> implements ApplyUserService {
    @Override
    public IPage<List<ApplyUserVO>> getApplyUser(Page page, List<String> roles, String key,ApplyUserDTO user) {
        return baseMapper.getApplyUser(page, roles, key,user);
    }
}
